package com.gable.exhibition.dao;

import com.gable.exhibition.model.Item;

import java.util.List;
import java.util.Map;

public interface ItemDao {
    int deleteByPrimaryKey(Long itemId);

    int insert(Item record);

    int insertSelective(Item record);

    Item selectByPrimaryKey(Long itemId);

    int updateByPrimaryKeySelective(Item record);

    int updateByPrimaryKey(Item record);

    /**
     * 获取字典表类型的数据
     * @param map
     * @Create user jacky
     * @Create date 2018/2/6
     * @return
     */
    List<Item> queryItem(Map map);
}